import java.util.Scanner;

public class LeapYearChecker {
    private static Object equals;

    public static String isleapYear(int year) {
        String a;
        if (year / 4 == 0 && year / 100 == 1) {
            if (year / 400 == 0) ;
            a="是闰年";
        }else{
             a="不是闰年";
        }
        return a;
    }

    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个年份:");
        int sc=scanner.nextInt();
        String a=isleapYear(sc);
        System.out.println(sc+a);
//        题目：判断一个年份是否是闰年
    }
}